const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.image,
  name: state => state.user.userInfo.userName,
  rolename: state => state.user.userInfo.roleName,
  regionname: state => state.user.userInfo.regionName,
  regionid: state => state.user.userInfo.regionId,
  nodeCount: state => state.home.nodeCount,
  partnerNode: state => state.home.partnerNode,
  ordercount: state => state.home.ordercount,
  partnerCount: state => state.home.partnerCount,
  income: state => state.home.income,
  taskTotal: state => state.home.taskTotal,
  taskDone: state => state.home.taskDone,
  taskPending: state => state.home.taskPending,
  taskCanceled: state => state.home.taskCanceled,
  goodsRank: state => state.home.goodsRank,
  chart1xAxis: state => state.home.chart1xAxis,
  chart1Series: state => state.home.chart1Series,
  chart2xAxis: state => state.home.chart2xAxis,
  chart2Series: state => state.home.chart2Series,
}
export default getters
